package com.example.serviceproduct;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

/**
 * 服务产品应用程序
 * EnableDiscoveryClient 启用nacos服务
 * @author aks
 */
@EnableDiscoveryClient
@SpringBootApplication
public class ServiceProductApplication implements org.springframework.boot.CommandLineRunner {

    public static void main(String[] args) {
        SpringApplication.run(ServiceProductApplication.class, args);
    }

    @Override
    public void run(String... args) {
        System.out.println("Product 服务运行完成");
    }

} 